USE [ERP]
GO

/****** Object:  StoredProcedure [dbo].[SP_GET_USER_INFO]    Script Date: 11/23/2009 09:55:58 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE SP_USERS_GET_INFO_BY_USERNAME
	@username nvarchar(50)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	SELECT     ID, Status, Password, Username, EmployeeID
		FROM         Users 
		WHERE Username = @username
END 

GO


